package com.easybuy.dao;

import java.util.List;
import java.util.Map;

import com.easybuy.pojo.News;

public interface NewsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKey(News record);
    
    List<News> selectNews();
    
    int getCount();
    
//    charu
    List<News> selectNewsList(Map<String, Object> params);
    
    News selectContent(Integer id);
    
    int selectNewsCount();
}